package spring;

import org.springframework.context.support.ClassPathXmlApplicationContext;
import spring.beans.BeanA;

/**
 * @author binarylei
 * @version 2019-12-23
 */
public class Main {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring-context-annotation.xml");
        BeanA bean = context.getBean(BeanA.class);
        System.out.println(bean);

    }
}
